﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<dynamic>" %>
<%@ Import Namespace="CRM.Models" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Расписание учебных курсов
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<%
    var customerCol = new CRM.Database.Model.CustomersCollection();
    var customer = (CRM.Database.Model.Customers)customerCol.GetItemById(Model);
%>
<%--<%var customer = DB.GetCustomerById(Model); %>--%>

<h2><%: customer.Name.ToString()%>
/<%: customer.Name.ToString()%>
/<%: customer.SequentialNumber.ToString()%> 
/<%: customer.ProfineRegionNameLocalized.ToString()%> 
/<%: customer.Manager.ToString()%> 
<br />Расписание учебных курсов</h2>

<% Html.RenderPartial("TraningsSchedulesRequestPartial"); %>

</asp:Content>
